package com.wing.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.order.model.entity.OrderDistributionLabel;
import com.wing.order.model.request.OrderDistributionLabelForm;
import com.wing.order.model.response.OrderDistributionLabelVO;
import com.wing.order.model.response.ScanDeliveryVo;
import com.wing.order.model.response.ScanPickUpVo;

import java.util.List;
import java.util.Map;

/**
 * 配货明细-Service
 *
 * @author
 */
public interface OrderDistributionLabelService extends IService<OrderDistributionLabel> {

    /**
     * 添加
     *
     * @param orderDistributionLabelForm
     * @return
     */
    int add(OrderDistributionLabelForm orderDistributionLabelForm);

    /**
     * 列表-app
     *
     * @param params
     *
     * @return
     */
    List<OrderDistributionLabelVO> list4app(Map<String, Object> params);

    /**
     * 分页list-app
     *
     * @param page
     * @param params
     *
     * @return
     */
    Page<OrderDistributionLabelVO> pageList4app(Page page, Map<String, Object> params);

    /**
     * 详情-app
     *
     * @param id
     *
     * @return
     */
    OrderDistributionLabelVO get4appById(Long id);

    /**
     * 已领货信息
     */
    List<ScanPickUpVo>  getPickUpFinsh(String deliveryOrderCode);
}
